package com.icoolkj.mall.user;

import com.icoolkj.mall.user.config.LoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;

/**
 * @author icoolkj
 * @version 1.0
 * @description
 * @createDate 2025/01/20 15:55
 */
// 设置全局的负载均衡策略
//@LoadBalancerClients(defaultConfiguration = LoadBalancerConfig.class)
@SpringBootApplication
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
